import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        Game game = new Game();

        //买扑克牌
        List<Poker> pokers=game.buyPoker();

        //洗扑克牌
        game.shuffle(pokers);

        //发牌[3个人，五轮发牌，没人每轮1张牌]+揭牌
        List<List<Poker>> hands = game.deal(pokers);
        System.out.println("揭牌：");
        for (int i = 0; i < hands.size(); i++) {
            System.out.println("第"+(i+1)+"个人的牌："+hands.get(i));
        }

        System.out.println("剩余的牌：");
        System.out.println(pokers);

    }
}
